┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/share/doc/cloud-init/module-docs/cc_bootcmd
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: data.yaml
cc_bootcmd: description: | This module runs arbitrary commands very early in the boot process, only slightly after a boothook would run. This is very similar to a boothook, but more user friendly. Commands can be specified either as lists or strings. For invocation details, see ``runcmd``. .. note:: ``bootcmd`` should only be used for things that could not be done later in the boot process. .. note:: When writing files, do not use ``/tmp`` dir as it races with ``systemd-tmpfiles-clean`` (LP: #1707222). Use ``/run/somedir`` instead. .. warning:: Use of ``INSTANCE_ID`` variable within this module is deprecated. Use :ref:`jinja templates<user_data_formats-jinja>` with :ref:`v1.instance_id<v1_instance_id>` instead. examples: - comment: | Example 1: file: cc_bootcmd/example1.yaml name: Bootcmd title: Run arbitrary commands early in the boot process
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 data.yaml
YAML
965 B
2024-11-25 16:09
EDIT
📄 example1.yaml
YAML
128 B
2024-11-25 16:09
EDIT